00001 /////////////////////////////////////////////////////////////////////////////// 00002 /// @file deNetResource.hpp 00003 /// 00004 /// @brief 00005 /// 00006 /// @author trajar 00007 /// 00008 /// This file is the intellectual property of Novus Delta, LLC.. Usage of the 00009 /// contents of this file is subject to the Destiny3D Member License which 00010 /// can be found at http://www.destiny3d.com. Any other usage is prohibited. 00011 /// 00012 /// This file is distributed "AS IS" without warranty of any kind. Novus 00013 /// Delta, LLC. does not guarantee the fitness of the contents of this file 00014 /// for any particular purpose. 00015 /// 00016 /// Copyright (C) 2001-2003 Novus Delta, LLC. All Rights Reserved. 00017 /// 00018 /// <hr> 00019 /// Change History 00020 /// <hr> 00021 /// 00022 /// @date Jun 2002 00023 /// @author trajar 00024 /// @remarks Creation 00025 /// 00026 /////////////////////////////////////////////////////////////////////////////// 00027 00028 #ifndef _DENETRESOURCE_HPP 00029 #define _DENETRESOURCE_HPP 00030 00031 00032 #ifndef _DENET_HPP 00033 #include "deNet.hpp" 00034 #endif 00035 00036 class DENET_API deNetResource 00037 { 00038 public: 00039 00040 deNetResource(void); 00041 virtual ~deNetResource(void); 00042 00043 void Destroy( DWORD dwFlags = NULL ); 00044 void SetData( void * pData, DWORD dwSize ); 00045 DWORD GetDataSize(void) const { return m_DataSize; } 00046 DWORD GetKey(void) const { return m_Key; } 00047 const void * GetData(void) const { return m_Data; } 00048 00049 00050 private: 00051 00052 DWORD m_Key; 00053 BYTE * m_Data; 00054 DWORD m_DataSize; 00055 }; 00056 00057 #endif
1.3-rc3